home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / MPW Oberon 2.1168 / OInterfaces / GXErrors.mod < prev    next >
Encoding:
Text File  |  1995-08-10  |  35.3 KB  |  716 lines  |  [TEXT/MPS ]

  1. (*
  2.      File:        GXErrors.mod
  3.  
  4.      Contains:    QuickDraw GX error constants and debugging routines
  5.  
  6.      Version:    Technology:    Quickdraw GX 1.1
  7.                  Package:    Universal Interfaces 2.1ß1 in “MPW Prerelease” on ETO #17
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs.applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. *)
  19.  
  20. (*$TAGS-*)
  21. (*$CALLING PASCAL*)
  22. MODULE GXErrors;
  23.  
  24. IMPORT SYSTEM, Types, GXTypes;
  25.  
  26. (* $PUSH*)
  27. (* $ALIGN MAC68K*)
  28. (* $LibExport+*)
  29. (*$SET graphicsErrorsIncludes TRUE*)
  30.  
  31. CONST
  32.     gxFirstSystemError*            = -27999;                        (* 0xffff92a1 *)
  33.     gxFirstFatalError*            = -27999;
  34.     gxLastFatalError*            = -27951;
  35.     gxFirstNonfatalError*        = -27950;
  36.     gxFirstFontScalerError*        = -27900;
  37.     gxLastFontScalerError*        = -27851;
  38.     gxFirstParameterError*        = -27850;
  39.     gxFirstImplementationLimitError* = -27800;
  40.     gxFirstSystemDebuggingError*    = -27700;
  41.     gxLastSystemError*            = -27000;                        (* 0xffff9688 *)
  42.     gxFirstLibraryError*            = 1048576;                        (* 0x00100000 *)
  43.     gxLastLibraryError*            = 2097151;                        (* 0x001fffff *)
  44.     gxFirstAppError*                = 2097152;                        (* 0x00200000 *)
  45.     gxLastAppError*                = 4194303;                        (* 0x003fffff *)
  46.     gxFirstSystemWarning*        = -26999;                        (* 0xffff9689 *)
  47.     gxFirstResultOutOfRangeWarning* = -26950;
  48.     gxFirstParameterOutOfRangeWarning* = -26900;
  49.     gxFirstFontScalerWarning*    = -26850;
  50.     gxFirstSystemDebuggingWarning* = -26700;
  51.     gxLastSystemWarning*            = -26000;                        (* 0xffff9a70 *)
  52.     gxFirstLibraryWarning*        = 4194304;                        (* 0x00400000 *)
  53.     gxLastLibraryWarning*        = 5242879;                        (* 0x004fffff *)
  54.     gxFirstAppWarning*            = 5242880;                        (* 0x00500000 *)
  55.     gxLastAppWarning*            = 7340031;                        (* 0x006fffff *)
  56.     gxFirstSystemNotice*            = -25999;                        (* 0xffff9a71 *)
  57.     gxLastSystemNotice*            = -25500;                        (* 0xffff9c64 *)
  58.     gxFirstLibraryNotice*        = 7340032;                        (* 0x00700000 *)
  59.     gxLastLibraryNotice*            = 7602175;                        (* 0x0073ffff *)
  60.     gxFirstAppNotice*            = 7602176;                        (* 0x00740000 *)
  61.     gxLastAppNotice*                = 8388607;                        (* 0x007fffff *)
  62.  
  63. (* truly fatal errors *)
  64.     out_of_memory*                = gxFirstFatalError;
  65.     internal_fatal_error*        = gxFirstFatalError + 1;
  66.     no_outline_font_found*        = gxFirstFatalError + 2;
  67.     not_enough_memory_for_graphics_client_heap* = gxFirstFatalError + 3;
  68.     could_not_create_backing_store* = gxFirstFatalError + 4;
  69. (* internal errors *)
  70.     internal_error*                = gxFirstNonfatalError;
  71.     internal_font_error*            = gxFirstNonfatalError + 1;
  72.     internal_layout_error*        = gxFirstNonfatalError + 2;
  73. (* recoverable errors *)
  74.     could_not_dispose_backing_store* = internal_layout_error + 2;
  75.     unflattening_interrupted_by_client* = internal_layout_error + 3;
  76. (* font manager errors *)
  77.     font_cannot_be_changed*        = internal_layout_error + 4;
  78.     illegal_font_parameter*        = internal_layout_error + 5;
  79. (* gxFont scaler errors *)
  80.     null_font_scaler_context*    = gxFirstFontScalerError;
  81.     null_font_scaler_input*        = gxFirstFontScalerError + 1;
  82.     invalid_font_scaler_context*    = gxFirstFontScalerError + 2;
  83.     invalid_font_scaler_input*    = gxFirstFontScalerError + 3;
  84.     invalid_font_scaler_font_data* = gxFirstFontScalerError + 4;
  85.     font_scaler_newblock_failed*    = gxFirstFontScalerError + 5;
  86.     font_scaler_getfonttable_failed* = gxFirstFontScalerError + 6;
  87.     font_scaler_bitmap_allocation_failed* = gxFirstFontScalerError + 7;
  88.     font_scaler_outline_allocation_failed* = gxFirstFontScalerError + 8;
  89.     required_font_scaler_table_missing* = gxFirstFontScalerError + 9;
  90.     unsupported_font_scaler_outline_format* = gxFirstFontScalerError + 10;
  91.     unsupported_font_scaler_stream_format* = gxFirstFontScalerError + 11;
  92.     unsupported_font_scaler_font_format* = gxFirstFontScalerError + 12;
  93.     font_scaler_hinting_error*    = gxFirstFontScalerError + 13;
  94.     font_scaler_rasterizer_error* = gxFirstFontScalerError + 14;
  95.     font_scaler_internal_error*    = gxFirstFontScalerError + 15;
  96.     font_scaler_invalid_matrix*    = gxFirstFontScalerError + 16;
  97.     font_scaler_fixed_overflow*    = gxFirstFontScalerError + 17;
  98.     font_scaler_api_version_mismatch* = gxFirstFontScalerError + 18;
  99.     font_scaler_streaming_aborted* = gxFirstFontScalerError + 19;
  100.     unknown_font_scaler_error*    = gxFirstFontScalerError + 20;
  101. (* bad parameters *)
  102.     parameter_is_nil*            = gxFirstParameterError;
  103.     shape_is_nil*                = gxFirstParameterError + 1;
  104.     style_is_nil*                = gxFirstParameterError + 2;
  105.     transform_is_nil*            = gxFirstParameterError + 3;
  106.     ink_is_nil*                    = gxFirstParameterError + 4;
  107.     transferMode_is_nil*            = gxFirstParameterError + 5;
  108.     color_is_nil*                = gxFirstParameterError + 6;
  109.     colorProfile_is_nil*            = gxFirstParameterError + 7;
  110.     colorSet_is_nil*                = gxFirstParameterError + 8;
  111.     spoolProcedure_is_nil*        = gxFirstParameterError + 9;
  112.     tag_is_nil*                    = gxFirstParameterError + 10;
  113.     type_is_nil*                    = gxFirstParameterError + 11;
  114.     mapping_is_nil*                = gxFirstParameterError + 12;
  115.     invalid_viewDevice_reference* = gxFirstParameterError + 13;
  116.     invalid_viewGroup_reference*    = gxFirstParameterError + 14;
  117.     invalid_viewPort_reference*    = gxFirstParameterError + 15;
  118. (* implementation limits, these should be right before the debugging errors *)
  119.     number_of_contours_exceeds_implementation_limit* = gxFirstImplementationLimitError;
  120.     number_of_points_exceeds_implementation_limit* = gxFirstImplementationLimitError + 1;
  121.     size_of_polygon_exceeds_implementation_limit* = gxFirstImplementationLimitError + 2;
  122.     size_of_path_exceeds_implementation_limit* = gxFirstImplementationLimitError + 3;
  123.     size_of_text_exceeds_implementation_limit* = gxFirstImplementationLimitError + 4;
  124.     size_of_bitmap_exceeds_implementation_limit* = gxFirstImplementationLimitError + 5;
  125.     number_of_colors_exceeds_implementation_limit* = gxFirstImplementationLimitError + 6;
  126.     procedure_not_reentrant*        = gxFirstImplementationLimitError + 7;
  127.  
  128. (* internal debugging errors *)
  129.     functionality_unimplemented*    = gxFirstSystemDebuggingError;
  130.     clip_to_frame_shape_unimplemented* = gxFirstSystemDebuggingError + 1;
  131. (* font parameter debugging errors *)
  132.     illegal_font_storage_type*    = gxFirstSystemDebuggingError + 2;
  133.     illegal_font_storage_reference* = gxFirstSystemDebuggingError + 3;
  134.     illegal_font_attributes*        = gxFirstSystemDebuggingError + 4;
  135. (* parameter debugging errors *)
  136.     parameter_out_of_range*        = gxFirstSystemDebuggingError + 5;
  137.     inconsistent_parameters*        = gxFirstSystemDebuggingError + 6;
  138.     index_is_less_than_zero*        = gxFirstSystemDebuggingError + 7;
  139.     index_is_less_than_one*        = gxFirstSystemDebuggingError + 8;
  140.     count_is_less_than_zero*        = gxFirstSystemDebuggingError + 9;
  141.     count_is_less_than_one*        = gxFirstSystemDebuggingError + 10;
  142.     contour_is_less_than_zero*    = gxFirstSystemDebuggingError + 11;
  143.     length_is_less_than_zero*    = gxFirstSystemDebuggingError + 12;
  144.     invalid_client_reference*    = gxFirstSystemDebuggingError + 13;
  145.     invalid_graphics_heap_start_pointer* = gxFirstSystemDebuggingError + 14;
  146.     invalid_nongraphic_globals_pointer* = gxFirstSystemDebuggingError + 15;
  147.     colorSpace_out_of_range*        = gxFirstSystemDebuggingError + 16;
  148.     pattern_lattice_out_of_range* = gxFirstSystemDebuggingError + 17;
  149.     frequency_parameter_out_of_range* = gxFirstSystemDebuggingError + 18;
  150.     tinting_parameter_out_of_range* = gxFirstSystemDebuggingError + 19;
  151.     method_parameter_out_of_range* = gxFirstSystemDebuggingError + 20;
  152.     space_may_not_be_indexed*    = gxFirstSystemDebuggingError + 21;
  153.     glyph_index_too_small*        = gxFirstSystemDebuggingError + 22;
  154.     no_glyphs_added_to_font*        = gxFirstSystemDebuggingError + 23;
  155.     glyph_not_added_to_font*        = gxFirstSystemDebuggingError + 24;
  156.     point_does_not_intersect_bitmap* = gxFirstSystemDebuggingError + 25;
  157.     required_font_table_not_present* = gxFirstSystemDebuggingError + 25;
  158.     unknown_font_table_format*    = gxFirstSystemDebuggingError + 26; (* the styles encoding is not present in the font *)
  159.     shapeFill_not_allowed*        = gxFirstSystemDebuggingError + 27;
  160.     inverseFill_face_must_set_clipLayer_flag* = gxFirstSystemDebuggingError + 28;
  161.     invalid_transferMode_colorSpace* = gxFirstSystemDebuggingError + 29;
  162.     colorProfile_must_be_nil*    = gxFirstSystemDebuggingError + 30;
  163.     bitmap_pixel_size_must_be_1*    = gxFirstSystemDebuggingError + 31;
  164.     empty_shape_not_allowed*        = gxFirstSystemDebuggingError + 32;
  165.     ignorePlatformShape_not_allowed* = gxFirstSystemDebuggingError + 33;
  166.     nil_style_in_glyph_not_allowed* = gxFirstSystemDebuggingError + 34;
  167.     complex_glyph_style_not_allowed* = gxFirstSystemDebuggingError + 35;
  168.     invalid_mapping*                = gxFirstSystemDebuggingError + 36;
  169.     cannot_set_item_shapes_to_nil* = gxFirstSystemDebuggingError + 37;
  170.     cannot_use_original_item_shapes_when_growing_picture* = gxFirstSystemDebuggingError + 38;
  171.     cannot_add_unspecified_new_glyphs* = gxFirstSystemDebuggingError + 39;
  172.     cannot_dispose_locked_tag*    = gxFirstSystemDebuggingError + 40;
  173.     cannot_dispose_locked_shape*    = gxFirstSystemDebuggingError + 41;
  174. (* restricted access *)
  175.     shape_access_not_allowed*    = gxFirstSystemDebuggingError + 42;
  176.     colorSet_access_restricted*    = gxFirstSystemDebuggingError + 43;
  177.     colorProfile_access_restricted* = gxFirstSystemDebuggingError + 44;
  178.     tag_access_restricted*        = gxFirstSystemDebuggingError + 45;
  179.     viewDevice_access_restricted* = gxFirstSystemDebuggingError + 46;
  180.     graphic_type_does_not_have_a_structure* = gxFirstSystemDebuggingError + 47;
  181.     style_run_array_does_not_match_number_of_characters* = gxFirstSystemDebuggingError + 48;
  182.     rectangles_cannot_be_inserted_into* = gxFirstSystemDebuggingError + 49;
  183.     unknown_graphics_heap*        = gxFirstSystemDebuggingError + 50;
  184.     graphics_routine_selector_is_obsolete* = gxFirstSystemDebuggingError + 51;
  185.     cannot_set_graphics_client_memory_without_setting_size* = gxFirstSystemDebuggingError + 52;
  186.     graphics_client_memory_too_small* = gxFirstSystemDebuggingError + 53;
  187.     graphics_client_memory_is_already_allocated* = gxFirstSystemDebuggingError + 54;
  188.     viewPort_is_a_window*        = gxFirstSystemDebuggingError + 55;
  189. (* wrong type/bad reference *)
  190.     illegal_type_for_shape*        = gxFirstSystemDebuggingError + 56;
  191.     shape_does_not_contain_a_bitmap* = gxFirstSystemDebuggingError + 57;
  192.     shape_does_not_contain_text*    = gxFirstSystemDebuggingError + 58;
  193.     picture_expected*            = gxFirstSystemDebuggingError + 59;
  194.     bitmap_is_not_resizable*        = gxFirstSystemDebuggingError + 60;
  195.     shape_may_not_be_a_bitmap*    = gxFirstSystemDebuggingError + 61;
  196.     shape_may_not_be_a_picture*    = gxFirstSystemDebuggingError + 62;
  197.     graphic_type_does_not_contain_points* = gxFirstSystemDebuggingError + 63;
  198.     graphic_type_does_not_have_multiple_contours* = gxFirstSystemDebuggingError + 64;
  199.     graphic_type_cannot_be_mapped* = gxFirstSystemDebuggingError + 65;
  200.     graphic_type_cannot_be_moved* = gxFirstSystemDebuggingError + 66;
  201.     graphic_type_cannot_be_scaled* = gxFirstSystemDebuggingError + 67;
  202.     graphic_type_cannot_be_rotated* = gxFirstSystemDebuggingError + 68;
  203.     graphic_type_cannot_be_skewed* = gxFirstSystemDebuggingError + 69;
  204.     graphic_type_cannot_be_reset* = gxFirstSystemDebuggingError + 70;
  205.     graphic_type_cannot_be_dashed* = gxFirstSystemDebuggingError + 71;
  206.     graphic_type_cannot_be_reduced* = gxFirstSystemDebuggingError + 72;
  207.     graphic_type_cannot_be_inset* = gxFirstSystemDebuggingError + 73;
  208.     shape_cannot_be_inverted*    = gxFirstSystemDebuggingError + 74;
  209.     shape_does_not_have_area*    = gxFirstSystemDebuggingError + 75;
  210.     shape_does_not_have_length*    = gxFirstSystemDebuggingError + 76;
  211.     first_glyph_advance_must_be_absolute* = gxFirstSystemDebuggingError + 77;
  212.     picture_cannot_contain_itself* = gxFirstSystemDebuggingError + 78;
  213.     viewPort_cannot_contain_itself* = gxFirstSystemDebuggingError + 79;
  214.     cannot_set_unique_items_attribute_when_picture_contains_items* = gxFirstSystemDebuggingError + 80;
  215.     layer_style_cannot_contain_a_face* = gxFirstSystemDebuggingError + 81;
  216.     layer_glyph_shape_cannot_contain_nil_styles* = gxFirstSystemDebuggingError + 82;
  217. (* validation errors *)
  218.     object_wrong_type*            = gxFirstSystemDebuggingError + 83;
  219.     shape_wrong_type*            = gxFirstSystemDebuggingError + 84;
  220.     style_wrong_type*            = gxFirstSystemDebuggingError + 85;
  221.     ink_wrong_type*                = gxFirstSystemDebuggingError + 86;
  222.     transform_wrong_type*        = gxFirstSystemDebuggingError + 87;
  223.     device_wrong_type*            = gxFirstSystemDebuggingError + 88;
  224.     port_wrong_type*                = gxFirstSystemDebuggingError + 89;
  225. (* validation cache errors *)
  226.     shape_cache_wrong_type*        = gxFirstSystemDebuggingError + 90;
  227.     style_cache_wrong_type*        = gxFirstSystemDebuggingError + 91;
  228.     ink_cache_wrong_type*        = gxFirstSystemDebuggingError + 92;
  229.     transform_cache_wrong_type*    = gxFirstSystemDebuggingError + 93;
  230.     port_cache_wrong_type*        = gxFirstSystemDebuggingError + 94;
  231.     shape_cache_parent_mismatch*    = gxFirstSystemDebuggingError + 95;
  232.     style_cache_parent_mismatch*    = gxFirstSystemDebuggingError + 96;
  233.     ink_cache_parent_mismatch*    = gxFirstSystemDebuggingError + 97;
  234.     transform_cache_parent_mismatch* = gxFirstSystemDebuggingError + 98;
  235.     port_cache_parent_mismatch*    = gxFirstSystemDebuggingError + 99;
  236.     invalid_shape_cache_port*    = gxFirstSystemDebuggingError + 100;
  237.     invalid_shape_cache_device*    = gxFirstSystemDebuggingError + 101;
  238.     invalid_ink_cache_port*        = gxFirstSystemDebuggingError + 102;
  239.     invalid_ink_cache_device*    = gxFirstSystemDebuggingError + 103;
  240.     invalid_style_cache_port*    = gxFirstSystemDebuggingError + 104;
  241.     invalid_style_cache_device*    = gxFirstSystemDebuggingError + 105;
  242.     invalid_transform_cache_port* = gxFirstSystemDebuggingError + 106;
  243.     invalid_transform_cache_device* = gxFirstSystemDebuggingError + 107;
  244.     recursive_caches*            = gxFirstSystemDebuggingError + 108;
  245. (* validation shape cache errors *)
  246.     invalid_fillShape_ownerCount* = gxFirstSystemDebuggingError + 109;
  247.     recursive_fillShapes*        = gxFirstSystemDebuggingError + 110;
  248. (* validation memory block errors *)
  249.     indirect_memory_block_too_small* = gxFirstSystemDebuggingError + 111;
  250.     indirect_memory_block_too_large* = gxFirstSystemDebuggingError + 112;
  251.     unexpected_nil_pointer*        = gxFirstSystemDebuggingError + 113;
  252.     bad_address*                    = gxFirstSystemDebuggingError + 114;
  253. (* validation object errors *)
  254.     no_owners*                    = gxFirstSystemDebuggingError + 115;
  255.     invalid_pointer*                = gxFirstSystemDebuggingError + 116;
  256.     invalid_seed*                = gxFirstSystemDebuggingError + 117;
  257.     invalid_frame_seed*            = gxFirstSystemDebuggingError + 118;
  258.     invalid_text_seed*            = gxFirstSystemDebuggingError + 119;
  259.     invalid_draw_seed*            = gxFirstSystemDebuggingError + 120;
  260.     bad_private_flags*            = gxFirstSystemDebuggingError + 121;
  261. (* validation path and polygon errors *)
  262.     invalid_vector_count*        = gxFirstSystemDebuggingError + 122;
  263.     invalid_contour_count*        = gxFirstSystemDebuggingError + 123;
  264. (* validation bitmap errors *)
  265.     bitmap_ptr_too_small*        = gxFirstSystemDebuggingError + 124;
  266.     bitmap_ptr_not_aligned*        = gxFirstSystemDebuggingError + 125;
  267.     bitmap_rowBytes_negative*    = gxFirstSystemDebuggingError + 126;
  268.     bitmap_width_negative*        = gxFirstSystemDebuggingError + 127;
  269.     bitmap_height_negative*        = gxFirstSystemDebuggingError + 128;
  270.     invalid_pixelSize*            = gxFirstSystemDebuggingError + 129;
  271.     bitmap_rowBytes_too_small*    = gxFirstSystemDebuggingError + 130;
  272.     bitmap_rowBytes_not_aligned*    = gxFirstSystemDebuggingError + 131;
  273.     bitmap_rowBytes_must_be_specified_for_user_image_buffer* = gxFirstSystemDebuggingError + 132;
  274. (* validation bitmap image errors *)
  275.     invalid_bitImage_fileOffset*    = gxFirstSystemDebuggingError + 133;
  276.     invalid_bitImage_owners*        = gxFirstSystemDebuggingError + 134;
  277.     invalid_bitImage_rowBytes*    = gxFirstSystemDebuggingError + 135;
  278.     invalid_bitImage_internal_flag* = gxFirstSystemDebuggingError + 136;
  279. (* validation text errors *)
  280.     text_bounds_cache_wrong_size* = gxFirstSystemDebuggingError + 137;
  281.     text_metrics_cache_wrong_size* = gxFirstSystemDebuggingError + 138;
  282.     text_index_cache_wrong_size*    = gxFirstSystemDebuggingError + 139;
  283. (* validation glyph errors *)
  284.     glyph_run_count_negative*    = gxFirstSystemDebuggingError + 140;
  285.     glyph_run_count_zero*        = gxFirstSystemDebuggingError + 141;
  286.     glyph_run_counts_do_not_sum_to_character_count* = gxFirstSystemDebuggingError + 142;
  287.     glyph_first_advance_bit_set_not_allowed* = gxFirstSystemDebuggingError + 143;
  288.     glyph_tangent_vectors_both_zero* = gxFirstSystemDebuggingError + 144;
  289. (* validation layout errors *)
  290.     layout_run_length_negative*    = gxFirstSystemDebuggingError + 145;
  291.     layout_run_length_zero*        = gxFirstSystemDebuggingError + 146;
  292.     layout_run_level_negative*    = gxFirstSystemDebuggingError + 147;
  293.     layout_run_lengths_do_not_sum_to_text_length* = gxFirstSystemDebuggingError + 148;
  294. (* validation picture errors *)
  295.     bad_shape_in_picture*        = gxFirstSystemDebuggingError + 149;
  296.     bad_style_in_picture*        = gxFirstSystemDebuggingError + 150;
  297.     bad_ink_in_picture*            = gxFirstSystemDebuggingError + 151;
  298.     bad_transform_in_picture*    = gxFirstSystemDebuggingError + 152;
  299.     bad_shape_cache_in_picture*    = gxFirstSystemDebuggingError + 153;
  300.     bad_seed_in_picture*            = gxFirstSystemDebuggingError + 154;
  301.     invalid_picture_count*        = gxFirstSystemDebuggingError + 155;
  302. (* validation text face errors *)
  303.     bad_textLayer_count*            = gxFirstSystemDebuggingError + 156;
  304.     bad_fillType_in_textFace*    = gxFirstSystemDebuggingError + 157;
  305.     bad_style_in_textFace*        = gxFirstSystemDebuggingError + 158;
  306.     bad_transform_in_textFace*    = gxFirstSystemDebuggingError + 159;
  307. (* validation transform errors *)
  308.     invalid_matrix_flag*            = gxFirstSystemDebuggingError + 160;
  309.     transform_clip_missing*        = gxFirstSystemDebuggingError + 161;
  310. (* validation font cache errors *)
  311.     metrics_wrong_type*            = gxFirstSystemDebuggingError + 162;
  312.     metrics_point_size_probably_bad* = gxFirstSystemDebuggingError + 163;
  313.     scalar_block_wrong_type*        = gxFirstSystemDebuggingError + 164;
  314.     scalar_block_parent_mismatch* = gxFirstSystemDebuggingError + 165;
  315.     scalar_block_too_small*        = gxFirstSystemDebuggingError + 166;
  316.     scalar_block_too_large*        = gxFirstSystemDebuggingError + 167;
  317.     invalid_metrics_range*        = gxFirstSystemDebuggingError + 168;
  318.     invalid_metrics_flags*        = gxFirstSystemDebuggingError + 169;
  319.     metrics_maxWidth_probably_bad* = gxFirstSystemDebuggingError + 170;
  320.     font_wrong_type*                = gxFirstSystemDebuggingError + 171;
  321.     font_wrong_size*                = gxFirstSystemDebuggingError + 172;
  322.     invalid_font_platform*        = gxFirstSystemDebuggingError + 173;
  323.     invalid_lookup_range*        = gxFirstSystemDebuggingError + 174;
  324.     invalid_lookup_platform*        = gxFirstSystemDebuggingError + 175;
  325.     font_not_in_font_list*        = gxFirstSystemDebuggingError + 176;
  326.     metrics_not_in_metrics_list*    = gxFirstSystemDebuggingError + 177;
  327. (* validation view device errors *)
  328.     bad_device_private_flags*    = gxFirstSystemDebuggingError + 178;
  329.     bad_device_attributes*        = gxFirstSystemDebuggingError + 179;
  330.     invalid_device_number*        = gxFirstSystemDebuggingError + 180;
  331.     invalid_device_viewGroup*    = gxFirstSystemDebuggingError + 181;
  332.     invalid_device_bounds*        = gxFirstSystemDebuggingError + 182;
  333.     invalid_bitmap_in_device*    = gxFirstSystemDebuggingError + 183;
  334. (* validation color set errors *)
  335.     colorSet_wrong_type*            = gxFirstSystemDebuggingError + 184;
  336.     invalid_colorSet_viewDevice_owners* = gxFirstSystemDebuggingError + 185;
  337.     invalid_colorSet_colorSpace*    = gxFirstSystemDebuggingError + 186;
  338.     invalid_colorSet_count*        = gxFirstSystemDebuggingError + 187;
  339. (* validation color profile errors *)
  340.     colorProfile_wrong_type*        = gxFirstSystemDebuggingError + 188;
  341.     invalid_colorProfile_flags*    = gxFirstSystemDebuggingError + 189;
  342.     invalid_colorProfile_response_count* = gxFirstSystemDebuggingError + 190;
  343. (* validation internal backing store errors *)
  344.     backing_free_parent_mismatch* = gxFirstSystemDebuggingError + 191;
  345.     backing_store_parent_mismatch* = gxFirstSystemDebuggingError + 192;
  346.  
  347. (* warnings about warnings *)
  348.     warning_stack_underflow*        = gxFirstSystemWarning;
  349.     warning_stack_overflow*        = gxFirstSystemWarning + 1;
  350.     notice_stack_underflow*        = gxFirstSystemWarning + 2;
  351.     notice_stack_overflow*        = gxFirstSystemWarning + 3;
  352.     about_to_grow_heap*            = gxFirstSystemWarning + 4;
  353.     about_to_unload_objects*        = gxFirstSystemWarning + 5;
  354. (* result went out of range *)
  355.     map_shape_out_of_range*        = gxFirstResultOutOfRangeWarning;
  356.     move_shape_out_of_range*        = gxFirstResultOutOfRangeWarning + 1;
  357.     scale_shape_out_of_range*    = gxFirstResultOutOfRangeWarning + 2;
  358.     rotate_shape_out_of_range*    = gxFirstResultOutOfRangeWarning + 3;
  359.     skew_shape_out_of_range*        = gxFirstResultOutOfRangeWarning + 4;
  360.     map_transform_out_of_range*    = gxFirstResultOutOfRangeWarning + 5;
  361.     move_transform_out_of_range*    = gxFirstResultOutOfRangeWarning + 6;
  362.     scale_transform_out_of_range* = gxFirstResultOutOfRangeWarning + 7;
  363.     rotate_transform_out_of_range* = gxFirstResultOutOfRangeWarning + 8;
  364.     skew_transform_out_of_range*    = gxFirstResultOutOfRangeWarning + 9;
  365.     map_points_out_of_range*        = gxFirstResultOutOfRangeWarning + 10;
  366. (* gave a parameter out of range *)
  367.     contour_out_of_range*        = gxFirstParameterOutOfRangeWarning;
  368.     index_out_of_range_in_contour* = gxFirstParameterOutOfRangeWarning + 1;
  369.     picture_index_out_of_range*    = gxFirstParameterOutOfRangeWarning + 2;
  370.     color_index_requested_not_found* = gxFirstParameterOutOfRangeWarning + 3;
  371.     colorSet_index_out_of_range*    = gxFirstParameterOutOfRangeWarning + 4;
  372.     index_out_of_range*            = gxFirstParameterOutOfRangeWarning + 5;
  373.     count_out_of_range*            = gxFirstParameterOutOfRangeWarning + 6;
  374.     length_out_of_range*            = gxFirstParameterOutOfRangeWarning + 7;
  375.     font_table_index_out_of_range* = gxFirstParameterOutOfRangeWarning + 8;
  376.     font_glyph_index_out_of_range* = gxFirstParameterOutOfRangeWarning + 9;
  377.     point_out_of_range*            = gxFirstParameterOutOfRangeWarning + 10;
  378.     profile_response_out_of_range* = gxFirstParameterOutOfRangeWarning + 11;
  379. (* gxFont scaler warnings *)
  380.     font_scaler_no_output*        = gxFirstFontScalerWarning;
  381.     font_scaler_fake_metrics*    = gxFirstFontScalerWarning + 1;
  382.     font_scaler_fake_linespacing* = gxFirstFontScalerWarning + 2;
  383.     font_scaler_glyph_substitution* = gxFirstFontScalerWarning + 3;
  384.     font_scaler_no_kerning_applied* = gxFirstFontScalerWarning + 4;
  385. (* might not be what you expected *)
  386.     character_substitution_took_place* = gxFirstFontScalerWarning + 5;
  387.     unable_to_get_bounds_on_multiple_devices* = gxFirstFontScalerWarning + 6;
  388.     font_language_not_found*        = gxFirstFontScalerWarning + 7;
  389.     font_not_found_during_unflattening* = gxFirstFontScalerWarning + 8;
  390. (*storage *)
  391.     unrecognized_stream_version*    = gxFirstFontScalerWarning + 9;
  392.     bad_data_in_stream*            = gxFirstFontScalerWarning + 10;
  393.  
  394. (* nonsense data *)
  395.     new_shape_contains_invalid_data* = gxFirstSystemDebuggingWarning;
  396.     new_tag_contains_invalid_data* = gxFirstSystemDebuggingWarning + 1;
  397.     extra_data_passed_was_ignored* = gxFirstSystemDebuggingWarning + 2;
  398.     font_table_not_found*        = gxFirstSystemDebuggingWarning + 3;
  399.     font_name_not_found*            = gxFirstSystemDebuggingWarning + 4;
  400. (* doesn't make sense to do *)
  401.     unable_to_traverse_open_contour_that_starts_or_ends_off_the_curve* = gxFirstSystemDebuggingWarning + 5;
  402.     unable_to_draw_open_contour_that_starts_or_ends_off_the_curve* = gxFirstSystemDebuggingWarning + 6;
  403.     cannot_dispose_default_shape* = gxFirstSystemDebuggingWarning + 7;
  404.     cannot_dispose_default_style* = gxFirstSystemDebuggingWarning + 8;
  405.     cannot_dispose_default_ink*    = gxFirstSystemDebuggingWarning + 9;
  406.     cannot_dispose_default_transform* = gxFirstSystemDebuggingWarning + 10;
  407.     cannot_dispose_default_colorProfile* = gxFirstSystemDebuggingWarning + 11;
  408.     cannot_dispose_default_colorSet* = gxFirstSystemDebuggingWarning + 12;
  409.     shape_direct_attribute_not_set* = gxFirstSystemDebuggingWarning + 13;
  410. (* couldn't find what you were looking for *)
  411.     point_does_not_intersect_port* = gxFirstSystemDebuggingWarning + 14;
  412.     cannot_dispose_non_font*        = gxFirstSystemDebuggingWarning + 15;
  413.     face_override_style_font_must_match_style* = gxFirstSystemDebuggingWarning + 16;
  414.     union_of_area_and_length_returns_area_only* = gxFirstSystemDebuggingWarning + 17;
  415.     insufficient_coordinate_space_for_new_device* = gxFirstSystemDebuggingWarning + 18;
  416. (* other *)
  417.     shape_passed_has_no_bounds*    = gxFirstSystemDebuggingWarning + 19;
  418.     tags_of_type_flst_removed*    = gxFirstSystemDebuggingWarning + 20;
  419.     translator_not_installed_on_this_grafport* = gxFirstSystemDebuggingWarning + 21;
  420.  
  421.     parameters_have_no_effect*    = gxFirstSystemNotice;
  422.     attributes_already_set*        = gxFirstSystemNotice + 1;
  423.     caps_already_set*            = gxFirstSystemNotice + 2;
  424.     clip_already_set*            = gxFirstSystemNotice + 3;
  425.     color_already_set*            = gxFirstSystemNotice + 4;
  426.     curve_error_already_set*        = gxFirstSystemNotice + 5;
  427.     dash_already_set*            = gxFirstSystemNotice + 6;
  428.     default_colorProfile_already_set* = gxFirstSystemNotice + 7;
  429.     default_ink_already_set*        = gxFirstSystemNotice + 8;
  430.     default_transform_already_set* = gxFirstSystemNotice + 9;
  431.     default_shape_already_set*    = gxFirstSystemNotice + 10;
  432.     default_style_already_set*    = gxFirstSystemNotice + 11;
  433.     dither_already_set*            = gxFirstSystemNotice + 12;
  434.     encoding_already_set*        = gxFirstSystemNotice + 13;
  435.     face_already_set*            = gxFirstSystemNotice + 14;
  436.     fill_already_set*            = gxFirstSystemNotice + 15;
  437.     font_already_set*            = gxFirstSystemNotice + 16;
  438.     font_variations_already_set*    = gxFirstSystemNotice + 17;
  439.     glyph_positions_are_already_set* = gxFirstSystemNotice + 18;
  440.     glyph_tangents_are_already_set* = gxFirstSystemNotice + 19;
  441.     halftone_already_set*        = gxFirstSystemNotice + 20;
  442.     hit_test_already_set*        = gxFirstSystemNotice + 21;
  443.     ink_already_set*                = gxFirstSystemNotice + 22;
  444.     join_already_set*            = gxFirstSystemNotice + 23;
  445.     justification_already_set*    = gxFirstSystemNotice + 24;
  446.     mapping_already_set*            = gxFirstSystemNotice + 25;
  447.     pattern_already_set*            = gxFirstSystemNotice + 26;
  448.     pen_already_set*                = gxFirstSystemNotice + 27;
  449.     style_already_set*            = gxFirstSystemNotice + 28;
  450.     tag_already_set*                = gxFirstSystemNotice + 29;
  451.     text_attributes_already_set*    = gxFirstSystemNotice + 30;
  452.     text_size_already_set*        = gxFirstSystemNotice + 31;
  453.     transfer_already_set*        = gxFirstSystemNotice + 32;
  454.     translator_already_installed_on_this_grafport* = gxFirstSystemNotice + 33;
  455.     transform_already_set*        = gxFirstSystemNotice + 34;
  456.     type_already_set*            = gxFirstSystemNotice + 35;
  457.     validation_level_already_set* = gxFirstSystemNotice + 36;
  458.     viewPorts_already_set*        = gxFirstSystemNotice + 37;
  459.     viewPort_already_in_viewGroup* = gxFirstSystemNotice + 38;
  460.     viewDevice_already_in_viewGroup* = gxFirstSystemNotice + 39;
  461.     geometry_unaffected*            = gxFirstSystemNotice + 40;
  462.     mapping_unaffected*            = gxFirstSystemNotice + 41;
  463.     tags_in_shape_ignored*        = gxFirstSystemNotice + 42;
  464.     shape_already_in_primitive_form* = gxFirstSystemNotice + 43;
  465.     shape_already_in_simple_form* = gxFirstSystemNotice + 44;
  466.     shape_already_broken*        = gxFirstSystemNotice + 45;
  467.     shape_already_joined*        = gxFirstSystemNotice + 46;
  468.     cache_already_cleared*        = gxFirstSystemNotice + 47;
  469.     shape_not_disposed*            = gxFirstSystemNotice + 48;
  470.     style_not_disposed*            = gxFirstSystemNotice + 49;
  471.     ink_not_disposed*            = gxFirstSystemNotice + 50;
  472.     transform_not_disposed*        = gxFirstSystemNotice + 51;
  473.     colorSet_not_disposed*        = gxFirstSystemNotice + 52;
  474.     colorProfile_not_disposed*    = gxFirstSystemNotice + 53;
  475.     font_not_disposed*            = gxFirstSystemNotice + 54;
  476.     glyph_tangents_have_no_effect* = gxFirstSystemNotice + 55;
  477.     glyph_positions_determined_by_advance* = gxFirstSystemNotice + 56;
  478.     transform_viewPorts_already_set* = gxFirstSystemNotice + 57;
  479.     directShape_attribute_set_as_side_effect* = gxFirstSystemNotice + 58;
  480.     lockShape_called_as_side_effect* = gxFirstSystemNotice + 59;
  481.     lockTag_called_as_side_effect* = gxFirstSystemNotice + 60;
  482.     shapes_unlocked_as_side_effect* = gxFirstSystemNotice + 61;
  483.     shape_not_locked*            = gxFirstSystemNotice + 62;
  484.     tag_not_locked*                = gxFirstSystemNotice + 63;
  485.     disposed_dead_caches*        = gxFirstSystemNotice + 64;
  486.     disposed_live_caches*        = gxFirstSystemNotice + 65;
  487.     low_on_memory*                = gxFirstSystemNotice + 66;
  488.     very_low_on_memory*            = gxFirstSystemNotice + 67;
  489.     transform_references_disposed_viewPort* = gxFirstSystemNotice + 68;
  490.  
  491.     
  492. TYPE
  493.     gxGraphicsError* = LONGINT;
  494.  
  495.     gxGraphicsWarning* = LONGINT;
  496.  
  497.     gxGraphicsNotice* = LONGINT;
  498.  
  499.     gxUserErrorProcPtr* = (*ΔΔ Types.ProcPtr;*) PROCEDURE (status: gxGraphicsError; refcon: LONGINT);
  500.     gxUserWarningProcPtr* = (*ΔΔ Types.ProcPtr;*) PROCEDURE (status: gxGraphicsWarning; refcon: LONGINT);
  501.     gxUserNoticeProcPtr* = (*ΔΔ Types.ProcPtr;*) PROCEDURE (status: gxGraphicsNotice; refcon: LONGINT);
  502.     gxUserErrorUPP* = Types.UniversalProcPtr;
  503.     gxUserWarningUPP* = Types.UniversalProcPtr;
  504.     gxUserNoticeUPP* = Types.UniversalProcPtr;
  505.  
  506. CONST
  507.     uppgxUserErrorProcInfo* = $000003C1; (* PROCEDURE (4 byte param, 4 byte param); *)
  508.     uppgxUserWarningProcInfo* = $000003C1; (* PROCEDURE (4 byte param, 4 byte param); *)
  509.     uppgxUserNoticeProcInfo* = $000003C1; (* PROCEDURE (4 byte param, 4 byte param); *)
  510.  
  511. PROCEDURE NewgxUserErrorProc*(userRoutine: gxUserErrorProcPtr): gxUserErrorUPP;
  512.     (*$IF NOT GENERATINGCFM *)
  513.     INLINE PASCAL $2E9F;
  514.     (*$END*)
  515.  
  516. PROCEDURE NewgxUserWarningProc*(userRoutine: gxUserWarningProcPtr): gxUserWarningUPP;
  517.     (*$IF NOT GENERATINGCFM *)
  518.     INLINE PASCAL $2E9F;
  519.     (*$END*)
  520.  
  521. PROCEDURE NewgxUserNoticeProc*(userRoutine: gxUserNoticeProcPtr): gxUserNoticeUPP;
  522.     (*$IF NOT GENERATINGCFM *)
  523.     INLINE PASCAL $2E9F;
  524.     (*$END*)
  525.  
  526. PROCEDURE CallgxUserErrorProc*(status: gxGraphicsError; refcon: LONGINT; userRoutine: gxUserErrorUPP);
  527.     (*$IF NOT GENERATINGCFM*)
  528.     INLINE PASCAL $205F, $4E90;
  529.     (*$END*)
  530.  
  531. PROCEDURE CallgxUserWarningProc*(status: gxGraphicsWarning; refcon: LONGINT; userRoutine: gxUserWarningUPP);
  532.     (*$IF NOT GENERATINGCFM*)
  533.     INLINE PASCAL $205F, $4E90;
  534.     (*$END*)
  535.  
  536. PROCEDURE CallgxUserNoticeProc*(status: gxGraphicsNotice; refcon: LONGINT; userRoutine: gxUserNoticeUPP);
  537.     (*$IF NOT GENERATINGCFM*)
  538.     INLINE PASCAL $205F, $4E90;
  539.     (*$END*)
  540.     
  541. TYPE
  542.     gxUserErrorFunction* = gxUserErrorUPP;
  543.  
  544.     gxUserWarningFunction* = gxUserWarningUPP;
  545.  
  546.     gxUserNoticeFunction* = gxUserNoticeUPP;
  547.  
  548.  
  549. CONST
  550.     common_colors_not_initialized* = gxFirstLibraryError;
  551.     no_open_picture*                = gxFirstLibraryError + 1;
  552.     picture_already_open*        = gxFirstLibraryError + 2;
  553.     no_open_poly*                = gxFirstLibraryError + 3;
  554.     poly_already_open*            = gxFirstLibraryError + 4;
  555.     no_open_region*                = gxFirstLibraryError + 5;
  556.     region_already_open*            = gxFirstLibraryError + 6;
  557.     no_active_picture*            = gxFirstLibraryError + 7;
  558.  
  559.     no_picture_drawn*            = gxFirstLibraryWarning;
  560.     polygons_have_different_size_contours* = gxFirstLibraryWarning + 1;
  561.     graphic_type_cannot_be_specifed_by_four_values* = gxFirstLibraryWarning + 2;
  562.     graphic_type_cannot_be_specifed_by_six_values* = gxFirstLibraryWarning + 3;
  563.     point_expected*                = gxFirstLibraryWarning + 4;
  564.     line_or_rectangle_expected*    = gxFirstLibraryWarning + 5;
  565.     curve_expected*                = gxFirstLibraryWarning + 6;
  566.     graphic_type_does_not_contain_control_bits* = gxFirstLibraryWarning + 7;
  567.     request_exceeds_available_data* = gxFirstLibraryWarning + 8;
  568.     extra_data_unread*            = gxFirstLibraryWarning + 9;
  569.     no_variable_length_user_data_saved* = gxFirstLibraryWarning + 10;
  570.  
  571.     zero_length_string_passed*    = gxFirstLibraryNotice;
  572.  
  573. (*$SET graphicsDebuggingIncludes TRUE*)
  574. (* These levels tell how to validate routines.  Choose one. *)
  575.     gxNoValidation*                = $00;                            (* no validation *)
  576.     gxPublicValidation*            = $01;                            (* check parameters to public routines *)
  577.     gxInternalValidation*        = $02;                            (* check parameters to internal routines *)
  578. (* These levels tell how to validate types.  Choose one. *)
  579.     gxTypeValidation*            = $00;                            (* check types of objects *)
  580.     gxStructureValidation*        = $10;                            (* check fields of private structures *)
  581.     gxAllObjectValidation*        = $20;                            (* check every object over every call *)
  582. (* These levels tell how to validate memory manager blocks.  Choose any combination. *)
  583.     gxNoMemoryManagerValidation*    = $0000;
  584.     gxApBlockValidation*            = $0100;                        (* check the relevant block structures after each memory mgr. call *)
  585.     gxFontBlockValidation*        = $0200;                        (* check the system gxHeap as well *)
  586.     gxApHeapValidation*            = $0400;                        (* check the memory manager’s gxHeap after every mem. call *)
  587.     gxFontHeapValidation*        = $0800;                        (* check the system gxHeap as well *)
  588.     gxCheckApHeapValidation*        = $1000;                        (* check the memory manager’s gxHeap if checking routine parameters *)
  589.     gxCheckFontHeapValidation*    = $2000;                        (* check the system gxHeap as well *)
  590.  
  591.     
  592. TYPE
  593.     gxValidationLevel* = LONGINT;
  594.  
  595.  
  596. CONST
  597.     no_draw_error*                = 0;
  598. (* gxShape type errors *)
  599.     shape_emptyType*                = 1;
  600.     shape_inverse_fullType*        = 2;
  601.     rectangle_zero_width*        = 3;
  602.     rectangle_zero_height*        = 4;
  603.     polygon_empty*                = 5;
  604.     path_empty*                    = 6;
  605.     bitmap_zero_width*            = 7;
  606.     bitmap_zero_height*            = 8;
  607.     text_empty*                    = 9;
  608.     glyph_empty*                    = 10;
  609.     layout_empty*                = 11;
  610.     picture_empty*                = 12;
  611. (* general gxShape errors *)
  612.     shape_no_fill*                = 13;
  613.     shape_no_enclosed_area*        = 14;
  614.     shape_no_enclosed_pixels*    = 15;
  615.     shape_very_small*            = 16;
  616.     shape_very_large*            = 17;
  617.     shape_contours_cancel*        = 18;
  618. (* gxStyle errors *)
  619.     pen_too_small*                = 19;
  620.     text_size_too_small*            = 20;
  621.     dash_empty*                    = 21;
  622.     start_cap_empty*                = 22;
  623.     pattern_empty*                = 23;
  624.     textFace_empty*                = 24;
  625.     shape_primitive_empty*        = 25;
  626.     shape_primitive_very_small*    = 26;
  627. (* gxInk errors *)
  628.     transfer_equals_noMode*        = 27;
  629.     transfer_matrix_ignores_source* = 28;
  630.     transfer_matrix_ignores_device* = 29;
  631.     transfer_source_reject*        = 30;
  632.     transfer_mode_ineffective*    = 31;
  633.     colorSet_no_entries*            = 32;
  634.     bitmap_colorSet_one_entry*    = 33;
  635. (* gxTransform errors *)
  636.     transform_scale_too_small*    = 34;
  637.     transform_map_too_large*        = 35;
  638.     transform_move_too_large*    = 36;
  639.     transform_scale_too_large*    = 37;
  640.     transform_rotate_too_large*    = 38;
  641.     transform_perspective_too_large* = 39;
  642.     transform_skew_too_large*    = 40;
  643.     transform_clip_no_intersection* = 41;
  644.     transform_clip_empty*        = 42;
  645.     transform_no_viewPorts*        = 43;
  646. (* gxViewPort errors *)
  647.     viewPort_disposed*            = 44;
  648.     viewPort_clip_empty*            = 45;
  649.     viewPort_clip_no_intersection* = 46;
  650.     viewPort_scale_too_small*    = 47;
  651.     viewPort_map_too_large*        = 48;
  652.     viewPort_move_too_large*        = 49;
  653.     viewPort_scale_too_large*    = 50;
  654.     viewPort_rotate_too_large*    = 51;
  655.     viewPort_perspective_too_large* = 52;
  656.     viewPort_skew_too_large*        = 53;
  657.     viewPort_viewGroup_offscreen* = 54;
  658. (* gxViewDevice errors *)
  659.     viewDevice_clip_no_intersection* = 55;
  660.     viewDevice_scale_too_small*    = 56;
  661.     viewDevice_map_too_large*    = 57;
  662.     viewDevice_move_too_large*    = 58;
  663.     viewDevice_scale_too_large*    = 59;
  664.     viewDevice_rotate_too_large*    = 60;
  665.     viewDevice_perspective_too_large* = 61;
  666.     viewDevice_skew_too_large*    = 62;
  667.  
  668.     
  669. TYPE
  670.     gxDrawError* = LONGINT;
  671.  
  672.     gxUserDebugFunction* = (*ΔΔ Types.ProcPtr;*) PROCEDURE (str: Types.ConstCStringPtr; message: LONGINT; reference: LONGINT): BOOLEAN;
  673.  
  674.  
  675. PROCEDURE GXGetShapeDrawError*(source: GXTypes.gxShape): gxDrawError; (*ΔΔ C;*)
  676.     EXTERNAL (*•• C*);
  677. PROCEDURE GXValidateAll*; (*ΔΔ C;*)
  678.     EXTERNAL (*•• C*);
  679. PROCEDURE GXValidateColorSet*(target: GXTypes.gxColorSet); (*ΔΔ C;*)
  680.     EXTERNAL (*•• C*);
  681. PROCEDURE GXValidateColorProfile*(target: GXTypes.gxColorProfile); (*ΔΔ C;*)
  682.     EXTERNAL (*•• C*);
  683. PROCEDURE GXValidateGraphicsClient*(target: GXTypes.gxGraphicsClient); (*ΔΔ C;*)
  684.     EXTERNAL (*•• C*);
  685. PROCEDURE GXValidateInk*(target: GXTypes.gxInk); (*ΔΔ C;*)
  686.     EXTERNAL (*•• C*);
  687. PROCEDURE GXValidateShape*(target: GXTypes.gxShape); (*ΔΔ C;*)
  688.     EXTERNAL (*•• C*);
  689. PROCEDURE GXValidateStyle*(target: GXTypes.gxStyle); (*ΔΔ C;*)
  690.     EXTERNAL (*•• C*);
  691. PROCEDURE GXValidateTag*(target: GXTypes.gxTag); (*ΔΔ C;*)
  692.     EXTERNAL (*•• C*);
  693. PROCEDURE GXValidateTransform*(target: GXTypes.gxTransform); (*ΔΔ C;*)
  694.     EXTERNAL (*•• C*);
  695. PROCEDURE GXValidateViewDevice*(target: GXTypes.gxViewDevice); (*ΔΔ C;*)
  696.     EXTERNAL (*•• C*);
  697. PROCEDURE GXValidateViewPort*(target: GXTypes.gxViewPort); (*ΔΔ C;*)
  698.     EXTERNAL (*•• C*);
  699. PROCEDURE GXValidateViewGroup*(target: GXTypes.gxViewGroup); (*ΔΔ C;*)
  700.     EXTERNAL (*•• C*);
  701. PROCEDURE GXGetValidation*(): gxValidationLevel; (*ΔΔ C;*)
  702.     EXTERNAL (*•• C*);
  703. PROCEDURE GXSetValidation*(level: gxValidationLevel); (*ΔΔ C;*)
  704.     EXTERNAL (*•• C*);
  705. PROCEDURE GXGetValidationError*(procedureName: Types.CStringPtr; argument: (*ΔΔUNIVΔΔ*) Types.Ptr; VAR argumentNumber: LONGINT): LONGINT; (*ΔΔ C;*)
  706.     EXTERNAL (*•• C*);
  707. PROCEDURE GXGetUserGraphicsDebug*(VAR reference: LONGINT): gxUserDebugFunction; (*ΔΔ C;*)
  708.     EXTERNAL (*•• C*);
  709. PROCEDURE GXSetUserGraphicsDebug*(userFunction: gxUserDebugFunction; reference: LONGINT); (*ΔΔ C;*)
  710.     EXTERNAL (*•• C*);
  711.  
  712. (* $ALIGN RESET*)
  713. (* $POP*)
  714.  
  715.  END GXErrors.
  716.